<?php
declare (strict_types=1);

namespace app;

use think\Service;

/**
 * 应用服务类
 */
class AppService extends Service
{
    public function register()
    {
        // 服务注册
        $this->commands([
            'systemTask' => \app\command\SystemTask::class,
            'develop' => \app\command\Develop::class,
            'schedule:run' => \app\command\Schedule::class, // 任务调度指令
        ]);
    }

    public function boot()
    {
        // 服务启动
    }
}
